package yawning.mew.character;

public enum Race {
	HUMAN("Human", 20, 20, 20, 20, 20),
	DWARF("Dwarf", 25, 16, 21, 19, 19),
	NIGHT_ELF("Night Elf", 16, 24, 20, 20, 20),
	GNOME("Gnome", 15, 22, 20, 23, 20),
	DRAENEI("Draenei", 21, 17, 20, 20, 22),
	WORGEN("Worgen", 23, 22, 20, 16, 19),
	ORC("Orc", 23, 17, 21, 17, 22),
	UNDEAD("Undead", 19, 18, 20, 18, 25),
	TAUREN("Tauren", 25, 16, 21, 16, 22),
	TROLL("Troll", 21, 22, 20, 16, 21),
	BLOOD_ELF("Blood Elf", 17, 22, 20, 23, 18),
	GOBLIN("Goblin", 17, 22, 20, 23, 18);
	
	public static Race get(String name) {
		return valueOf(new String(name).toUpperCase().replace(' ', '_'));
	}
	
	private final String mName;
    private final int mStrength;
    private final int mAgility;
    private final int mStamina;
    private final int mIntellect;
    private final int mSpirit;
	
	private Race(String name, int str, int agi, int sta, int inte, int spi) {
		mName = name;
		mStrength = str;
		mAgility = agi;
		mStamina = sta;
		mIntellect = inte;
		mSpirit = spi;
	}
	
	public String getName() {
		return mName;
	}
	
	public int getBaseStrength() {
		return mStrength;
	}
	
	public int getBaseAgility() {
		return mAgility;
	}
	
	public int getBaseStamina() {
		return mStamina;
	}
	
	public int getBaseIntellect() {
		return mIntellect;
	}
	
	public int getBaseSpirit() {
		return mSpirit;
	}
}
